package com.huayue.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.huayue.util.DateHelper;

/**
 * 前台房间预定
 */
public class RoomPredictDesk {
    private String name;
    private String phone;
    private String idNumber;
    private Integer typeId;
    private Integer roomNumber;
    private Date inDate;
    private Date outDate;
    private BigDecimal totalPrice;
    private String tempOrder;

    public String getTempOrder() {
        return tempOrder;
    }

    public void setTempOrder(String tempOrder) {
        this.tempOrder = tempOrder;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(Integer roomNumber) {
        this.roomNumber = roomNumber;
    }

    public Date getInDate() {
        return inDate;
    }

    public void setInDate(String inDate) {
        this.inDate = DateHelper.StringToDateShort(inDate);
    }

    public Date getOutDate() {
        return outDate;
    }

    public void setOutDate(String outDate) {
        this.outDate = DateHelper.StringToDateShort(outDate);
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    @Override
    public String toString() {
        return "RoomPredictDesk{" + "name='" + name + '\'' + ", phone='" + phone + '\'' + ", idNumber='" + idNumber
            + '\'' + ", typeId=" + typeId + ", roomNumber=" + roomNumber + ", inDate=" + inDate + ", outDate=" + outDate
            + ", totalPrice=" + totalPrice + ", tempOrder='" + tempOrder + '\'' + '}';
    }
}
